﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<CognisessDA.Feedback>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script type="text/javascript">
        $(function() {
            $("input").each(function(i, o) {
                $(o).attr('disabled', 'disabled');
            });
            $("select").each(function(i, o) {
                $(o).attr('disabled', 'disabled');
            });
        });
    </script>

    <fieldset>
        <legend>Details</legend>
        <div class="editor-label">
            Realname</div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Realname)%></div>
        <div class="editor-label">
            Email</div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Email)%></div>
        <div class="editor-label">
            Country</div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Country)%></div>
        <div class="editor-label">
            FeedSubject</div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.FeedSubject)%></div>
        <div class="editor-label">
            CreateTime</div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.CreateTime)%></div>
        <div class="editor-label">
            <label for="Description">
                Feedback Content</label>
        </div>
        <div class="editor-field">
            <%= Html.TextAreaFor(model => model.FeedContent, new { style = "height:200px;width:400px;" })%>
        </div>
    </fieldset>
    <p>
        <%= Html.ActionLink("Edit", "Edit", new { id=Model.Id }) %>
        |
        <%= Html.ActionLink("Back to List", "Index") %>
    </p>
</asp:Content>
